package org.link.bean;

import java.util.Date;

/**
 * 
 * project_name:sqlserverdemo
 * package_name:org.link.bean
 * file_name:User.java
 * @author Link
 * create_date:2015年11月20日 下午2:29:55
 * modified_date:
 * description:user实体类
 *
 */
public class User {

	private Integer id;
	private String username;
	private String userpass;
	private Date birth;
	private float height;
	
	public User() {
		super();
	}

	public User(String username, String userpass, Date birth, float height) {
		super();
		this.username = username;
		this.userpass = userpass;
		this.birth = birth;
		this.height = height;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getUserpass() {
		return userpass;
	}

	public void setUserpass(String userpass) {
		this.userpass = userpass;
	}

	public Date getBirth() {
		return birth;
	}

	public void setBirth(Date birth) {
		this.birth = birth;
	}

	public float getHeight() {
		return height;
	}

	public void setHeight(float height) {
		this.height = height;
	}

	@Override
	public String toString() {
		return "User [id=" + id + ", username=" + username + ", userpass="
				+ userpass + ", birth=" + birth + ", height=" + height + "]";
	}
	
}
